from rest_framework import routers

from course.views import CourseGroupViewSet, CourseViewSet, RotationMapViewSet, PdfManageViewSet

router = routers.SimpleRouter()
router.register(r'course_group', CourseGroupViewSet, base_name='course_group')
router.register(r'course', CourseViewSet, base_name='course')
router.register(r'rotation_map', RotationMapViewSet, base_name='rotation_map')
router.register(r'pdf_manage', PdfManageViewSet, base_name='pdf_manage')
urlpatterns = router.urls
